package chencb.stu.thrift.server2.rpcImpl;

import chencb.stu.thrift.interfaces.IUserInter;
import org.apache.thrift.TException;
import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public class IUserInterImpl implements IUserInter.Iface {
    @Override
    public String getById(String userId) throws TException {
        System.out.println("哈哈哈哈，我们来了"+userId+new Date());
        return "哈哈哈哈，我们来了"+userId;
    }
}
